home *** CD-ROM | disk | FTP | other *** search
- Mike Crowl <mcrowl@earthlight.co.nz>
- wrote:
- >
- > Giday all,
- >
- > just looking for some help in writing a tetris game. The bit I'd like
- > some help with is how you would check to see if the block had hit another
- > block and so on.
- >
- > Any help would be much appreciated.
- >
-
- If you have AMOSPro, check out the Superblockout game that comes with it.
-
- If not, look at the game MegaBlock2.lha in game/think on Aminet. It
- doesn't include the source code, but if you want it I'll send it to you.
-
- The basic idea is to store the "well" area in a 2D array, and check
- the position in the array below the blocks current position before
- you move it. You also need to keep arrays containing each of the blocks,
- 4 for each block (one for each rotation).
-
-
- Dom
-
- --
- Dominic Ramsey email: dom@dynamo.demon.co.uk
- http://www.gate.net/user/play/people/dramsey.html
-
-